Skip to content

Comments

feat: add ais.infiniteHits widget support#29

Merged
sarahdayan merged 3 commits intomainfrom
feat/infinite-hits-widget
Feb 23, 2026
Merged

feat: add ais.infiniteHits widget support#29
sarahdayan merged 3 commits intomainfrom
feat/infinite-hits-widget

Conversation

@sarahdayan
Copy link
Member

@sarahdayan sarahdayan commented Feb 22, 2026

Summary

  • Register infiniteHits in the runtime with passthrough transformParams (bucket 1 only: escapeHTML, showPrevious)
  • Add InfiniteHitsWidget to the ExperienceWidget type union
  • Enable ais.infiniteHits in the toolbar with description, field overrides (boolean switches + cssClasses object with disabledValue: undefined), labels, and descriptions
  • Add field behavior tests (infinite-hits.test.tsx), AI tool tests for discovery, add, and edit (boolean + cssClasses)
  • Update toolbar tests for enabled widget popover

Note

Partial prop support, only serializable props handled for now.

Capture d’écran 2026-02-22 à 11 15 37

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for algolia-experiences-js ready!

Name Link
🔨 Latest commit b825195
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-js/deploys/699c8f81307ac6000811cdb2
😎 Deploy Preview https://deploy-preview-29--algolia-experiences-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for algolia-experiences-react ready!

Name Link
🔨 Latest commit b825195
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-react/deploys/699c8f81c66ee8000864cd5c
😎 Deploy Preview https://deploy-preview-29--algolia-experiences-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sarahdayan sarahdayan force-pushed the feat/infinite-hits-widget branch from 5d75cf3 to 1c80dbc Compare February 22, 2026 09:56
@sarahdayan sarahdayan requested a review from dhayab February 23, 2026 10:15
@sarahdayan sarahdayan force-pushed the feat/infinite-hits-widget branch from 8f3ea27 to 620186f Compare February 23, 2026 13:15
sarahdayan and others added 3 commits February 23, 2026 18:33
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Change cssClasses from false to undefined with disabledValue: undefined
- Add field behavior tests (infinite-hits.test.tsx)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sarahdayan sarahdayan force-pushed the feat/infinite-hits-widget branch from 620186f to b825195 Compare February 23, 2026 17:33
@sarahdayan sarahdayan enabled auto-merge (squash) February 23, 2026 17:34
@sarahdayan sarahdayan merged commit f83f039 into main Feb 23, 2026
8 checks passed
@sarahdayan sarahdayan deleted the feat/infinite-hits-widget branch February 23, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants